<?php

/**
 * Class OAuthException
 *
 * Helper class to keep track exception of OAuth request
 *
 * @author: Phong Linh <langxangvn@gmail.com>
*/
class OAuthException extends Exception {		
	/**
	 * Override __toString
	 *
	 * @return string Description of exception
	 *
	 */
	public function __toString() {
		return __CLASS__ . ": [{$this->code}]: {$this->message}\n";
	}	
}
?>